package com.game.core
{
	import flash.display.Sprite;
	import flash.display.Stage;

	public class GlobalInterface
	{
		public static var main : Sprite;
		public static var stage : Stage;	
		public static var gameContainer : Sprite;
		public static var uiContainer : Sprite;	
		public static var popUpContainer : Sprite;
		public static var msgContainer : Sprite;
		
		public static var frameRate : int = 60;
		
		public static function init(value:Sprite):void
		{
			main = value;
			stage = main.stage;
			gameContainer = new Sprite();
			uiContainer = new Sprite();
			popUpContainer = new Sprite();
			msgContainer = new Sprite();
			main.addChild(gameContainer);
			main.addChild(uiContainer);
			main.addChild(popUpContainer);
			main.addChild(msgContainer);
		}
		
		public function GlobalInterface()
		{
		}
	}
}